#pragma once
#include "ql_api_common.h"

#define QL_UART_ERRCODE_BASE    (QL_COMPONENT_BSP_UART<<16)

/*===========================================================================
 * Enum
 ===========================================================================*/
typedef enum
{
    QL_UART_SUCCESS = 0,
    QL_UART_EXECUTE_ERR = 1 | QL_UART_ERRCODE_BASE,
    QL_UART_MEM_ADDR_NULL_ERR,
    QL_UART_INVALID_PARAM_ERR,
    QL_UART_OPEN_REPEAT_ERR,
    QL_UART_NOT_OPEN_ERR = 5 | QL_UART_ERRCODE_BASE,
} ql_uart_errcode_e;
